import { IsArray, IsNumber, IsString } from 'class-validator'
import { IsOptionalString } from '@boticord/common'

export class CacheMemberDto {
  @IsNumber()
  declare joinedTimestamp: number

  @IsArray()
  declare roles: string[]

  @IsOptionalString()
  @IsString()
  declare nickname?: string
}
